import request from "@/utils/request";

/**
 * 管理员账号列表
 * @param params
 * @returns
 */
export function getLocation(data: any) {
  return request({
    url: `/management/earth.country/getAddressByLatLng?location=${data}`,
    method: 'get',
  })
}
export function getAddress(data: any) {
  return request({
    url: `/management/earth.country/getLatLng?address=${data}`,
    method: 'get',
  })
}
export function gettLocations(data: any) {
  return request({
    url: `/management/earth.country/changeLatLngToTencentMap?locations=${data}&type=3`,
    method: 'get',
  })
}